import {request} from "./request";

export function getCategory(){
  return request({
    url:'/category'
  })
}

export function getCategoryInfo(maitKey){
  return request({
    url:'/subcategory',
    params:{
      maitKey
    }
  })
}

export function getCategoryDetail(minWallkey,type){
  return request({
    url:'/subcategory/detail',
    params:{
      minWallkey,
      type
    }
  })
}
